<?php
class GoodsAction extends Action {
	protected $Goods;
	public function __construct(){
		parent::__construct();
		$this->Goods = D('Goods');
	}
    public function index(){

    	$goodsList = $this->Goods->GoodsRead();
        dump($goodsList);die;
    	// $goods_desc = str_replace('alt=""','alt="" width="100%"',str_replace('/images','http://www.shiangou.com.cn/images',$goodsList['goods_desc']));
    	// $imagesList = $goodsList['images_arr'];
    	// $this->assign('goodsList',$goodsList);
    	// $this->assign('goods_desc',$goods_desc);
    	// $this->assign('imagesList',$imagesList);
    	// $this->display();
    }
}